package com.jiaquyun.jcyx.main.user

import android.app.Activity
import android.content.Intent
import com.blankj.utilcode.util.FragmentUtils
import com.jiaquyun.jcyx.R
import com.module.lemlin.owner.OwnerAbstractActivity
import kotlinx.android.synthetic.main.activity_access.*

class AccessActivity : OwnerAbstractActivity() {


    companion object {
        fun open(activity: Activity) {
            val intent = Intent(activity, AccessActivity::class.java)
            activity.startActivity(intent)
        }
    }

    override val layoutResId: Int
        get() = R.layout.activity_access

    override fun stateBar(): StatusBar {
        return StatusBar(view = flAccessBar)
    }

    override fun initView() {
        FragmentUtils.add(supportFragmentManager, LoginFragment.newInstance(), R.id.flAccessBody)
    }
}